
/* 主容器 */
.container {
    min-height: 100vh;
    background-color: #f5f5f5;
    display: flex;
    flex-direction: column;
}

/* 警告横幅 */
.warningBanner {
    background-color: #ff6b35;
    color: white;
    padding: 12px 16px;
    font-size: 14px;
    line-height: 1.4;
    text-align: center;
    margin-top: 45px;
}

/* 内容区域 */
.content {
    flex: 1;
    padding: 16px;
    background-color: white;
    margin: 0;
}

/* 章节标题 */
.sectionTitle {
    font-size: 18px;
    font-weight: bold;
    color: #333;
    margin: 0 0 20px 0;
    padding: 0;
}

/* 关系选择区域 */
.relationshipSection {
    margin-bottom: 24px;
}

.relationshipLabel {
    font-size: 16px;
    color: #333;
    margin-bottom: 12px;
    font-weight: 500;
}

.relationshipButtons {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.relationshipButton {
    padding: 8px 12px;
    border: 1px solid #d9d9d9;
    border-radius: 20px;
    background-color: #f5f5f5;
    color: #666;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    min-width: 60px;
}

.relationshipButton.active {
    background-color: #666;
    color: white;
    border-color: #666;
}

/* 表单区域 */
.formSection {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.formField {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.fieldLabel {
    font-size: 16px;
    color: #333;
    font-weight: 500;
    display: flex;
    align-items: center;
}

.required {
    color: #ff4d4f;
    margin-right: 4px;
}

.fieldInput {
    padding: 12px 16px;
    border: 1px solid #d9d9d9;
    border-radius: 4px;
    font-size: 16px;
    background-color: white;
    outline: none;
    transition: border-color 0.3s ease;
}

.fieldInput:focus {
    border-color: #1890ff;
}

.fieldInput::placeholder {
    color: #bfbfbf;
}

.dateInput {
    padding: 12px 16px;
    border: 1px solid #d9d9d9;
    border-radius: 4px;
    font-size: 16px;
    background-color: white;
    cursor: pointer;
    color: #bfbfbf;
    min-height: 44px;
    display: flex;
    align-items: center;
    transition: border-color 0.3s ease;
}

.dateInput:hover {
    border-color: #1890ff;
}

/* 性别按钮 */
.genderButtons {
    display: flex;
    gap: 12px;
}

.genderButton {
    flex: 1;
    padding: 12px 16px;
    border: 1px solid #d9d9d9;
    border-radius: 4px;
    background-color: white;
    color: #666;
    font-size: 16px;
    cursor: pointer;
    text-align: center;
    transition: all 0.3s ease;
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.genderButton.genderActive {
    background-color: #666;
    color: white;
    border-color: #666;
}

/* 保存按钮容器 */
.saveButtonContainer {
    padding: 16px;
    background-color: white;
    border-top: 1px solid #f0f0f0;
}

.saveButton {
    width: 100%;
    height: 48px;
    background-color: #1890ff;
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.saveButton:hover {
    background-color: #40a9ff;
}

.saveButton:active {
    background-color: #096dd9;
}